package cn.sumpu.app.guoguojie.biz;


import java.util.List;

import cn.sumpu.app.guoguojie.domain.Detail;
import cn.sumpu.app.guoguojie.domain.Learning;
import cn.sumpu.app.guoguojie.domain.Work;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface ExperBiz {
	public List<Learning> getLearningList(String member)throws AppBusinessException;
	
	public Learning getLearningById(Integer id)throws AppBusinessException;
	
	public List<Work> getWorkList(String member)throws AppBusinessException;
	
	public void saveExper(Detail detail)throws AppBusinessException;
	
	public void updateLearning(Learning learning)throws AppBusinessException;
	
	public void deleteLearningById(Integer id)throws AppBusinessException;
	
	public void updateWork(Work work)throws AppBusinessException;
	
	public void deleteWorkById(Integer id)throws AppBusinessException;
	
	public void saveLearning(Learning learning)throws AppBusinessException;
	
	public void saveWork(Work work)throws AppBusinessException;
	
	public Work getWorkById(Integer id)throws AppBusinessException;
}
